package com.cmes.oauth.core.constant;

import com.cmes.core.ResponseCode;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 错误码
 * <p>
 * 系统管理使用编码范围：
 * </p>
 *
 * @author Bruce.Gong
 * @since 1.0.0-SNAPSHOT
 */
@RequiredArgsConstructor
@Getter
public enum ErrorCode implements ResponseCode {

    // 个人中心
    PROFILE_PWD_NEQ       ("1007001", "两次输入的密码不一致!"),
    PROFILE_OLD_PWD_FAIL  ("1007002", "原密码不正确!"),

    LOGIN_FAIL            ("1000001", "用户名密码不正确"),

    ;


    private final String code;
    private final String message;
}
